Talmud for Pirkei Avot 3:1
עֲקַבְיָא בֶן מַהֲלַלְאֵל אוֹמֵר, הִסְתַּכֵּל בִּשְׁלשָׁה דְבָרִים וְאִי אַתָּה בָא לִידֵי עֲבֵרָה. דַּע מֵאַיִן בָּאתָ, וּלְאָן אַתָּה הוֹלֵךְ, וְלִפְנֵי מִי אַתָּה עָתִיד לִתֵּן דִּין וְחֶשְׁבּוֹן. מֵאַיִן בָּאתָ, מִטִּפָּה סְרוּחָה, וּלְאָן אַתָּה הוֹלֵךְ, לִמְקוֹם עָפָר רִמָּה וְתוֹלֵעָה. וְלִפְנֵי מִי אַתָּה עָתִיד לִתֵּן דִּין וְחֶשְׁבּוֹן, לִפְנֵי מֶלֶךְ מַלְכֵי הַמְּלָכִים הַקָּדוֹשׁ בָּרוּךְ הוּא:
Akavya ben Mahalalel says: Take to heart three things and you will not be brought to transgression: Know whence you came and whither you are going and before Whom you are destined to render judgment and accounting. Whence did you come? From a putrefying drop. [the drop of semen. And even though at the time of conception it does not putrefy (not putrefying in the womb until after three days, and when it does putrefy, it is not fit for fertilization), it is still called "putrefying" for it is close to doing so immediately upon its being outside the womb. And one who takes it to heart that he comes from a putrefying drop is rescued from pride.] And whither are you going? To a place of dust, worms, and maggots. [One who takes this to heart is rescued from lust and from the desire for wealth.] And before whom are you destined to render judgment and accounting? Before the King of the kings of kings — the Holy One Blessed be He. [One who takes this to heart separates himself from sin and does not stumble into transgression.]